package com.hileto.inf.actions.hessian.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.hileto.inf.actions.hessian.IHelloWorld;
import com.hileto.inf.models.Student;
import com.hileto.inf.modules.user.TestService;

@Repository("helloWorldImpl")
public class HelloWorldImpl implements IHelloWorld{
	
	@Autowired
	private TestService testService;

	@Override
	public List<String> getMessage(String appKey, String sessionKey,
			Integer msgSize) {
		return testService.getMessage(appKey, sessionKey, msgSize);
	}

	@Override
	public List<Student> queryUser() {
		return testService.queryUser();
	}

}
